<template>
    <div>

    </div>
</template>

<script setup>
// Transform 组件是系统内置的基础组件，默认会添加在所有object3D上，用来控制容器的位置、缩放、旋转坐标参数

// 1: Position 场景节点相对父容器的位置
let obj = new Object3D();

obj.x = 0;
obj.y = 0;
obj.z = 0;

obj.transform.x = 0;
obj.transform.y = 0;
obj.transform.z = 0;

// 2: Rotation 场景节点相对父容器的旋转
let obj1 = new Object3D();

obj.rotationX = 0;
obj.rotationY = 0;
obj.rotationZ = 0;

obj.transform.rotationX = 0;
obj.transform.rotationY = 0;
obj.transform.rotationZ = 0;

// 3: Scale 场景节点相对父容器的缩放
let obj3 = new Object3D();

obj3.scaleX = 1;
obj3.scaleY = 1;
obj3.scaleZ = 1;

obj3.transform.scaleX = 1;
obj3.transform.scaleY = 1;
obj3.transform.scaleZ = 1;
</script>

<style lang="scss" scoped></style>